:root{
        --mantap:#D6A309;
  --primary:#20883A;
}

*{
    border: none;
    text-decoration:none;
    box-sizing: border-box ;
    text-align:center;
    list-style: none;
}
nav {
      background-color: #1e293b;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      position: fixed;              /* ✅ membuat navbar tetap di atas */
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;               /* ✅ pastikan di atas elemen lain */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    /* Tambahkan ruang di atas konten agar tidak tertutup navbar */
    main {
      padding-top: 70px;
    }
      .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }

    .logo span {
      font-size: 20px;
      font-weight: bold;
    }

    .nav-links {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    .nav-links a {
      text-decoration: none;
      color: white;
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: #38bdf8;
    }
     nav {
      background-color:var(--);
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      position: fixed;              /* ✅ membuat navbar tetap di atas */
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;               /* ✅ pastikan di atas elemen lain */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    nav{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index: 9999;
    color:white;
    background-color:var(--primary) ;
}
nav a{
    color:WHITE;
}
.navbar .dropdown-menu li a{
    text-decoration: none;
    color:black;
    transition:all .5s ease;
    font-size:15px;
}
.navbar .dropdown-menu li a:hover{
    color:white;
}
.navbar .dropdown-menu li{
    padding:10px;
}
.navbar .dropdown-menu li:hover{
    background-color:var(--primary);
} 
.navbar-nav{
    gap:20px;
}
.navbar-brand{
    font-size:3rem;
    font-weight:bold;
}
.nav-item{
    font-size:1rem;
}
.navbar-nav .nav-item a{
    font-size:17px;
}

    .hero {
            background: url('/gambar/sekolah6.jpg') no-repeat center center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-shadow: 2px 2px 4px #000;
        }
     .hero {
      width: 100%;
      height: 60vh;
      color: white;
      text-align: center;
      padding: 20px;
      position: relative;
      background-size: cover;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
    }

    .hero-content {
      position: relative;
      z-index: 1;
      width: 100%;
      
    }

    .hero h1 {
      font-size: 3.5rem;
      margin-bottom: 10px;
      font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   font-weight:bold;
    }

    .hero p {
      font-size: 1.1rem;
      font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   
    }
    
  section.profil-sekolah {
      padding: 90px 20px;
      background: linear-gradient(180deg, var(--white), var(--light));
    }

    .container {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 50px;
    }

    .profil-image {
      flex: 1 1 450px;
    }

    .profil-image img {
      width: 100%;
      border-radius: 15px;
      box-shadow: 0 8px 25px var(--shadow);
      object-fit: cover;
    }

    .profil-content {
      flex: 1 1 500px;
    }

    .profil-content h2 {
      font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
      font-size:3em;
      color:var(--mantap);
      margin-bottom: 15px;
      font-weight: 700;
    }

    .profil-content p {
      color: #4b5563;
      line-height: 1.8;
      margin-bottom: 20px;
      font-size: 16px;
      text-align: justify;
    }

    .profil-highlight {
      background:linear-gradient(rgba(0, 0, 0, 0.295));
      color: white;
      padding: 15px 20px;
      border-radius: 12px;
      margin-bottom: 25px;
      box-shadow: 0 4px 15px var(--shadow);
    }

    .profil-highlight p {
      margin: 0;
      font-size: 15px;
      line-height: 1.6;
      color:white;
    }

    .profil-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .btn-visi, .btn-sejarah {
      padding: 10px 18px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .btn-visi {
      border: 2px solid var(--primary);
      background: transparent;
      color: var(--primary);
    }

    .btn-visi:hover {
      background: var(--primary);
      color: var(--white);
    }

    .btn-sejarah {
      border: none;
      background: var(--accent);
      color: var(--white);
    }

    .btn-sejarah:hover {
      background: #e09617;
    }
      section {
      padding: 80px 20px;
      background: var(--white);
    }

    .container {
      max-width: 1000px;
      margin: 0 auto;
    }

    h2.section-title {
      font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
      text-align: center;
      font-size: 34px;
      color:black;
      margin-bottom: 15px;
      font-weight: 700;
    }

    p.section-subtitle {
      text-align: center;
      color: #6b7280;
      font-size: 16px;
      margin-bottom: 50px;
    }

    /* ===== Visi & Misi ===== */
    .visi-misi {
      background: linear-gradient(180deg, var(--white), var(--light));
      padding: 40px;
      margin-bottom: 60px;
    }
    .visi-misi1{
      border:1px solid rgba(0, 0, 0, 0);
      outline: none;
      border-radius:5px ;
      box-shadow:0px 0px 4px 0px black;
      

    }

    .visi {
      margin-bottom: 25px;
    }

    .visi h3 {
      font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
      color:black;
      font-size: 22px;
      margin-bottom: 10px;
    }

    .visi p {
      color: #374151;
      font-size: 16px;
    }

    .misi h3 {
      font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
      color: black;
      font-size: 22px;
      margin-bottom: 15px;
    }

    .misi ul {
      padding-left: 20px;
      list-style: none;
    }

    .misi ul li {
      position: relative;
      margin-bottom: 12px;
      color: #374151;
      list-style: none;
    }

   .sejarah1{
       border:1px solid rgba(0, 0, 0, 0);
      outline: none;
      border-radius:5px ;
      box-shadow:0px 0px 4px 0px black;
      
   }
    /* ===== Sejarah ===== */
    .sejarah {
      background: var(--light);
      border-radius: 15px;
      box-shadow: 0 8px 25px var(--shadow);
      padding: 40px;
    }

    .sejarah h3 {
      font-family: "Raleway", sans-serif;
      font-optical-sizing: auto;
      font-style: normal;
      color: black;
      font-size: 22px;
      margin-bottom: 15px;
    }

    .sejarah p {
      color: #374151;
      text-align: justify;
      font-size: 16px;
    }
/* 
    @media (max-width: 700px) {
      h2.section-title {
        font-size: 28px;
      }

      .visi-misi, .sejarah {
        padding: 25px;
      }
    }

    @media (max-width: 800px) {
      .container {
        flex-direction: column;
        text-align: center;
      }

      .profil-buttons {
        justify-content: center;
      }

      .profil-content h2 {
        font-size: 28px;
      }
    } */
     @media (max-width: 768px) {
   html{
    font-size:80%;
   }
    }
    @media (max-width:986px){
      html{
        font-size: 80%;
      }
    }
